package com.liu.thread.ch01.demo02;

public class subThread extends Thread {
	
	@Override
	public void run(){
		
		
		for(int i=1;i<=100;i++){
			String name = Thread.currentThread().getName();
			
			System.out.println(name+":"+i);
			
				try {
					Thread.sleep(10);
				} catch (InterruptedException e) {
				}
				
			
		}
		
	}

}
